<template>
  <div class="balance">
    <Theme :theme="theme"></Theme>
    <div class="content">
      <div class="content_top">
        <h4>0</h4>
        <p>总余额(元)</p>
      </div>
      <div class="content_bottom">
        <div class="content_left">
          <h4>0</h4>
          <p>可用余额(元)</p>
        </div>
        <div class="content_right">
          <h4>0</h4>
          <p>冻结余额(元)</p>
        </div>
      </div>
      <div class="btn">
        <van-button
          round
          type="info"
          size="large"
          color="#7CA7D2"
          class="btn1"
          to="code"
          >我的充值二维码</van-button
        >
        <van-button
          round
          type="info"
          size="large"
          color="#ccc"
          class="btn2"
          to="detail"
          >查看余额明细</van-button
        >
      </div>
    </div>
  </div>
</template>

<script>
import Theme from "../../components/lsc/theme.vue";

export default {
  components: { Theme },
  methods: {},
  data() {
    return {
      theme: "账户余额",
    };
  },
};
</script>

<style scoped>
.balance {
  width: 100%;
  min-height: 6.4rem;
  background-color: #f5f5f5;
}
/deep/.van-nav-bar {
  background-color: #f5f5f5;
}
/deep/.van-nav-bar .van-icon {
  color: gray;
}
.content {
  width: 100%;
  height: 100%;
  padding-top: 0.46rem;
}
.content_top {
  width: 100%;
  height: 1rem;
  color: #fff;
  text-align: center;
  padding-top: 0.5rem;
  background-color: #23467a;
}
.content_top h4 {
  font-size: 0.22rem;
}
.content_top p {
  font-size: 0.14rem;
}
.content_bottom {
  width: 100%;
  display: flex;
  text-align: center;
  color: #fff;
  background-color: #2d5387;
}
.content_left,
.content_right {
  flex: 1;
}
.content_left {
  border-right: 0.01rem solid #23467a;
}
.content_left h4,
.content_right h4 {
  height: 0.3rem;
  line-height: 0.4rem;
}
.content_left p,
.content_right p {
  height: 0.36rem;
  line-height: 0.34rem;
  font-size: 0.14rem;
}
.btn {
  width: 90%;
  margin: 20px auto;
  opacity: 0.6;
}
.van-button--round {
  border-radius: 6px;
}
.btn1 {
  margin-bottom: 20px;
}
</style>